package work1.work3.car;

public class Company {
     Car manage(int a){
         if (a==1){
             return new Bus();
         }
         else {
             return new Taxi();
         }
     }
}
